﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace RapGetNet
{
    public partial class Preferences : Form
    {
        public Preferences()
        {
            InitializeComponent();
            this.StartPosition = FormStartPosition.CenterScreen;
        }

        private void btnCnl_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {

        }

        private void Preferences_Load(object sender, EventArgs e)
        {
            if (chbwui.Checked ==false)
            {
                groupBox1.Enabled = false;
            }
        }

        private void chbwui_CheckedChanged(object sender, EventArgs e)
        {
            if (chbwui.Checked == true)
            {
                groupBox1.Enabled = true;
            }
            else
            {
                groupBox1.Enabled = false;
            }

        }

     
    }
}
